#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <cmath>
using namespace std;
int gcd(int a,int b)
{
    if(a<b) return gcd(b,a);
    if(b==0) return a;
    else
    {
        if(a%2==0)
        {
            if(b%2==0) return 2*gcd(a>>1,b>>1);
            else return gcd(a>>1,b);
        }
        else
        {
            if(b%2==0) return gcd(a,b>>1);
            else return gcd(b,a-b);
        }
    }
}
int main()
{
    freopen("in.txt", "r", stdin);
    //freopen("out.txt", "w", stdout);
    int a,b,n,tmp;
    while(cin>>a>>b>>n)
    {
        tmp=gcd(a,b);
        if(tmp==0)
        {
            if(n!=0) cout<<"Impossible!"<<endl;
            else cout<<"Possible!"<<endl;
        }
        else
        {
            if(n%tmp==0) cout<<"Possible!"<<endl;
            else cout<<"Impossible!"<<endl;
        }
    }
    return 0;
}
